package org.example.dao;

import org.example.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface IUserRepository extends JpaRepository<User, String> {

    public User findByUserIdAndPassword(String id, String pw);

    public int countByUserId(String id);

    User findByUserId(String userId);
}
